using System;
namespace Net35.Xrm.Sdk
{
	[AttributeUsage(AttributeTargets.Property)]
	public sealed class AttributeLogicalNameAttribute : Attribute
	{
		public string LogicalName
		{
			get;
			private set;
		}
		public AttributeLogicalNameAttribute(string logicalName)
		{
			if (StringExtensions.IsNullOrWhiteSpace(logicalName))
			{
				throw new ArgumentNullException("logicalName");
			}
			this.LogicalName = logicalName;
		}
	}
}
